package com.pureut.production.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.production.domain.OperationInformation;
import com.pureut.production.domain.dto.OperationInformationDto;
import com.pureut.production.domain.vo.OperationInformationVo;

import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023/2/6 15:10
 * @Desc: 工序信息
 */
public interface OperationInformationService extends IService<OperationInformation> {

    /**
     * 查询工序信息列表
     * @param operationInformationVo
     * @return
     */
    List<OperationInformationDto> selectOperationList(OperationInformationVo operationInformationVo);

    /**
     * 根据工序id查询详情信息
     * @param id
     * @return
     */
    OperationInformationDto selectOperationByIds(Long id);

    /**
     * 新增工序信息
     * @param operationInformationVo
     * @return
     */
    boolean save(OperationInformationVo operationInformationVo) throws Exception;

    /**
     * 修改工序信息
     * @param operationInformationVo
     * @return
     */
    boolean edit(OperationInformationVo operationInformationVo);

    /**
     * 删除
     */
    boolean deleteOperationInformationById(String idStr);
}
